    
<? 
require_once 'includes/funciones.php';
conexion();
?>
<head>
<!-- Copyright 2005 Macromedia, Inc. All rights reserved. -->
<meta http-equiv="Content-type" content="text/html; charset=utf-8" />
<title>Untitled Document</title>

<script type="text/javascript"  src="plugins/jquery.js"></script>

<script type="text/javascript"  src="plugins/thickbox/thickbox.js"></script>
<link rel="stylesheet" href="plugins/thickbox/thickbox.css" type="text/css" media="screen" />





</head>
<!-- The structure of this file is exactly the same as 2col_leftNav.html;
     the only difference between the two is the stylesheet they use -->

<body>

<!-- fin encabesado -->




      <table width="612" >
        <tr align="center" class="ui-widget-header" >
          <td width="287" height="21">Titulo</td>
          <td width="86"></td>
          <td width="138">Descargar </td>
		  <td width="83">Imagen </td>
        </tr>
		<?php 
				require_once 'includes/funciones.php';
		conexion();
		$var=sqlint($_GET['var']);
		$result=mysql_query('select c.id,c.titulo,c.folder,c.`file` as f ,c.imagen, c.habilitacion as h   from samptyt.capas as c WHERE c.`org-id`='.$var .' and c.verificado=1  order by c.id' );
		

while($row=mysql_fetch_array($result))
		{?>
        <tr  >
          <td  style="text-transform:  uppercase;"><?php echo $row['titulo']; ?></td>
          <td align="center"><a href="<?php echo 'capavermas.php?var='.$row['id']; ?>">Ver Mas</a></td>
          <td align="center"><a href="<?php echo $row['folder'].''.$row['f']; ?>">Descargar capa</a></td>
		  <td align="center" ><br><a href="<?php echo $row['folder'].''.$row['imagen']; ?>" title="<?php echo $row['titulo']; ?>" class="thickbox">
		  <img src="<?php echo $row['folder'].''.$row['imagen']; ?>" alt="1.PNG" width="66" height="60"/></a><br></td>
		  
        </tr>
    
      

	 
      <?php }


/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
?>  </table>



</body>
</html>